package com.ymttest.database.sharding.db.ext.mapper;

import com.ymttest.database.sharding.db.ext.model.FinishActivityExample;
import com.ymttest.database.sharding.db.ext.model.FinishActivityPo;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface FinishActivityMapper {
    int countByExample(FinishActivityExample example);

    int deleteByExample(FinishActivityExample example);

    int deleteByPrimaryKey(Long activityId);

    int insert(FinishActivityPo record);

    int insertSelective(FinishActivityPo record);

    List<FinishActivityPo> selectByExample(FinishActivityExample example);

    FinishActivityPo selectByPrimaryKey(Long activityId);

    int updateByExampleSelective(@Param("record") FinishActivityPo record, @Param("example") FinishActivityExample example);

    int updateByExample(@Param("record") FinishActivityPo record, @Param("example") FinishActivityExample example);

    int updateByPrimaryKeySelective(FinishActivityPo record);

    int updateByPrimaryKey(FinishActivityPo record);
}